package com.bigzero.workflow.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bigzero.workflow.common.entity.BaseEntity;
import lombok.Data;

/**
 * 菜单实体类
 *
 * @author fanxinxiong
 * @email 896934834@qq.com
 * @date 2025-02-11 11:27:47
 */
@Data
@TableName("sys_menu")
public class MenuEntity extends BaseEntity{

    /**菜单名称*/
    private String name;

    /**路由(前端)*/
    private String route;

    /**菜单类型:1.目录,2.菜单,3.tab页,4.按钮,5.超链接,6.后台接口,7.其他*/
    private Integer type;

    /**父ID*/
    private String parentId;

    /**链接类型:1.无,2.内嵌,3.外链*/
    private Integer linkType;

    /**授权(多个用逗号分隔，如：settings:user:list,settings:user:create)*/
    private String perms;

    /**菜单图标*/
    private String icon;

    /**菜单URL*/
    private String url;

    /**序号*/
    private Integer sort;

}
